#pragma once

#include <string>
using namespace std;

#include <sstream>

namespace libdmail
{

	class Protocol
	{
	public:
		Protocol(void);
	public:
		virtual ~Protocol(void);
	public:
		int virtual onDataReceived(stringstream *str, int strLen);
		int virtual sendData(string data);
	};

}